Index vs. Navigation in XPath Evaluation

نویسندگان

  • Norman May
  • Matthias Brantner
  • Alexander Böhm
  • Carl-Christian Kanne
  • Guido Moerkotte
چکیده

A well-known rule of thumb claims, it is better to scan than to use an index when more than 10% of the data are accessed. This rule was formulated for relational databases. But is it still valid for XML queries? In this paper we develop similar rules of thumb for XML queries by experimentally comparing different execution strategies, e.g. using navigation or indices. These rules can be used immediately for heuristic optimization of XML queries, and in the long run, they may serve as a foundation for cost-based query optimization in XQuery.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An XPath Algebraic Characterization of A ( k ) and P ( k ) Indices with Applications to Query Processing

Recent studies have proposed structural summary techniques for path query evaluation on semi-structured data sources. One major line of this research has been the introduction of the DataGuide, 1-index, 2-index, and A(k) indices, and subsequent investigations and generalizations. Another recent study has considered structural characterizations of fragments of XPath, the standard path navigation...

متن کامل

Improving XPath Evaluation with Strategies

XPath is the defacto navigation language for XML documents conforming to DTD and it is important to have efficient evaluation and checking techniques available for XPath. Traversal strategies, a component of Adaptive Programming, are a well studied navigation language for objects conforming to class graphs and an efficient evaluation technique has been developed in the previous millenium. Trave...

متن کامل

Coupling Fragments of XPath with XML Indexing and Query Decomposition

Recent studies have proposed structural summary techniques for pathquery evaluation on semi-structured data sources. One major line of this research has been the introduction of the DataGuide, 1-index, 2-index, and A(k) indices, and subsequent investigations and generalizations. Another recent study has considered structural characterizations of fragments of XPath, the standard path navigation ...

متن کامل

Foreign-Key Based XPath Navigation

XML Schema defines identity constraints, including key and foreign key constraints. We consider the problem of navigating from a keyed element to its referring ”children” and, conversely, from an element containing a foreign key to the ”parent” it references. Our contributions are as follows. We extend an expressive fragment of XPath, called XPath′, with navigation axes according to foreign key...

متن کامل

An Extended Preorder Index for Optimising XPath Expressions

Many of the problems with native XML databases relate to query performance and subsequently, it can be difficult to convince traditional database users of the benefits of using semior unstructured databases. Presently, there still lacks an index structure providing efficient support for structural queries and the traditional data-centric and content queries. This paper presents an extended inde...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006